<script setup>
let arrs1 = [1,2,3,4,5,6,7];
let arrs2 = [2,5,7];
let arrs3 = [1,6,9];

let result1 = arrs2.every(item=>arrs1.includes(item));
console.log(result1);
let result2 = arrs3.every(item=>arrs1.includes(item));
console.log(result2);

if(arrs1.includes(8)){
	console.log("包在内");
}else{
	console.log("不包含");
}

</script>
<template>
    <view class="">

    </view>
</template>
<style lang="scss" scoped>

</style>
